YAMATAKE's SDC DMC Controller Protocol

 

YAMATAKE SDC/DMC controller is driver to communicate with device of YAMATAKE-Honeywell Co. in Japan.

 

Reference) Help for RG, WGF, WG commands

 

1. Read settings

 

Below is read setting example of YAMATAKE SDC/DMC controller communication driver.

Device Settings are input, Com Port(COM1), Com Baud(19200), Parity Bit(2), Data Bit(8), Stop Bit(1).

 

Read schedule example)

Memory Station Data Type
(Fixed)
Read start address Save start address Read size
READ, 1, RS, 1001, 0, 20,
READ, 2, RS, 1001, 20, 20,

1) Station : Station number which set at controller.

              Station - 0 ~ 255 (Low byte), sub Station – High byte.

2) Data Type : Data type to read. Fixed to RS.

3) Read Start Address : Memory start address to read. Refer to communication parameter table manual of SDC/DMC controller about memory address.

4) Save Start Address for Communication Server : Saving start address of Communication Server.

5) Read Size : read size.

 

Communication parameter table which is frequently used at DMC controller is such as <Table 2>.

Parameter name Memory address(Decimal) Possible to write
All alarm 1001 X
PV input error 1002 X
Control related status 1003 X
PV ch1 ~ ch4 1004 ~ 1007 X
SP value under operation ch1 ~ ch4 1008 ~ 1011 O
SP value set No. under operation ch1 ~ ch4 1012 ~ 1015 O
PID value set No. under operation ch1 ~ ch4 1016 ~ 1019 X
MV (PID calculated result) ch1 ~ ch4 1020 ~ 1023 O
Auto/Manual status ch1 ~ ch4 1028 ~ 1031 O
Run/Ready status ch1 ~ ch4 1032 ~ 1035 O
Auto tuning Stop/Start status ch1 ~ ch4 1040 ~ 1043 O
Internal calculation result of event output/external switch input 1044 X
DI status 1045 X
DO status 1046 X
Current trans. Value ch1 ~ ch2 1047 ~ 1048 X
P, I, D, RE currently used ch1 1075 ~ 1078 O
P, I, D, RE currently used ch2 1079 ~ 1082 O
P, I, D, RE currently used ch3 1083 ~ 1086 O
P, I, D, RE currently used ch4 1087 ~ 1090 O
<Table 2> Communication parameter table memory address and contents which are frequently used at DMC controller
2. Write settings

Write to direct address of controller, regardless of SCAN File.

 

Digital Write

You can set or control SDC/DMC controller by using the digital write command.

Digital write setting parameters are as follows :

1) PORT : Connected Port no.(0 ~ 255)

2) Station : Station number which set at controller.

             Station - 0 ~ 255 (Low byte), sub Station – High byte.

3) ADDRESS : Memory address of communication parameter table. (Decimal)

4) Extra1 : If Extra2 is '1', it is bit position. (0 ~ 15).

5) Extra2 : 1 : ON/OFF of bit unit.

Etc : Output the value as 0 or 1.

Ex) Port:0, Station:1, Address:1008, Extra1:3, Extra2:1

After writing as digital, you can change(ON/OFF) the 4th bit value of SP ch1 of SDC/DMC controller.

 

Analog Write

You can set or control SDC/DMC controller by using the analog write command.

Analog write setting parameters are as follows :

1) PORT : Connected Port no.(0 ~ 255)

2) Station : Station number which set at controller.

             Station - 0 ~ 255 (Low byte), sub Station – High byte.

3) ADDRESS : Memory address of communication parameter table. (Decimal)

4) Extra1 : Don't care.

5) Extra2 : Don't care.

Ex) Port:0, Station:1, Address:1009

After writing as analog, you can set SP ch2 value of SDC/DMC controller.